package com.zelix;

import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;

class n0
        implements MouseMotionListener {

    private final t3 a;

    n0(t3 t3_1) {
        a = t3_1;
    }

    public void mouseDragged(MouseEvent mouseevent) {
        if (t3.a(a)) {
            int i1 = t3.b(a) + 1;
            t3.a(a, i1);
            if (i1 % 30 == 0) {
                a.repaint();
            }
        }
    }

    public void mouseMoved(MouseEvent mouseevent) {
        if (t3.a(a)) {
            int i1 = t3.b(a) + 1;
            t3.a(a, i1);
            if (i1 % 30 == 0) {
                a.repaint();
            }
        }
    }
}